<?php

namespace mpend\modules\team\controllers;

use Yii;
use mpend\components\Controller;

/**
 * 排行榜
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class RankController extends Controller {

    /**
     * @inheritdoc
     */
    protected function verbs() {
        return [
            '*' => ['GET']
        ];
    }

    /**
     * @inheritdoc
     */
    public function actionIndex($id) {
        return [
            'date' => date('Y-m-d H:i'),
            'mine' => $this->user,
            'rank' => []
        ];
    }

}
